#ifndef CAPACITYPANEL_H
#define CAPACITYPANEL_H

#include <QGridLayout>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QVBoxLayout>
#include <QWidget>

#include "custom_widgets/gaugepanel.h"

class CapacityWidget : public QWidget
{
    Q_OBJECT
public:
    explicit CapacityWidget( QString title, QWidget* parent = nullptr );

signals:

private:
    QString     m_Title;
    QLabel*     m_TitleLabel;
    GaugePanel* m_Gauge;

    void initView();
};

class CapacityPanel : public QWidget
{
    Q_OBJECT
public:
    explicit CapacityPanel( QWidget* parent = nullptr );

signals:

private:
    QList< GaugePanel* > m_Gauges;
    QGroupBox*           m_OxygenGroupBox;
    QGroupBox*           m_FuelGroupBox;

    void initView();
};

#endif  // CAPACITYPANEL_H
